package cn.ying.factory;

import cn.ying.UserDao;
import cn.ying.impl.DaoImpl;

public class StaticFactoryBean {
    //静态工厂 返回实例
    public static UserDao getUserDao(){
        return new DaoImpl();
    }
}
